package com.example.zhaoping.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.zhaoping.entity.Message;
import com.example.zhaoping.entity.PageParam;
import org.springframework.stereotype.Service;

public interface MessageSerice {
    int insterMessage(Message message);
    Page<Message> selectListMessage(String fromType, String toType, int fromId, int toId, PageParam param);
    int selectMsgCount(String tpye,int id);
    int setReaded(int formId,String formType,int toId,String toType);
    int getReaded(int formId,String formType,int toId,String toType);
}
